-- GENERATED SPELL FOR [Gargoyle Ambusher] --


function spell0_32769(pUnit, Event) --@Gargoyle Ambusher Strike,n/a--
pUnit:FullCastSpellOnTarget(60239,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32769', 1500, 1)
end

function Sorts_32769(pUnit, Event)
local choix_sorts_32769 = math.random(0, 0)
if choix_sorts_32769 == 0 then
pUnit:RegisterEvent('spell0_32769', 1, 1)
end
end

function mob32769_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32769', math.random(1500, 3000), 1)
end

function mob32769_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32769_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32769_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32769, 1, 'mob32769_Action')
RegisterUnitEvent(32769, 2, 'mob32769_Leave')
RegisterUnitEvent(32769, 3, 'mob32769_Kill')
RegisterUnitEvent(32769, 4, 'mob32769_Die')
